public class Student {
    private String name; //= "Steve";
    private int age; //= 18;
    private String lesson; //= "Java";
    private String hobby; //= "Programming";

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getLesson() {
        return lesson;
    }

    public void setLesson(String lesson) {
        this.lesson = lesson;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public static void main(String[] args) {

    }

    public Student() {
        this("jackie chen", 20, "java", "movie");
        System.out.println("no parameter ");

    }

    public Student(String name, int age, String lesson, String hobby) {
        this.name = name;
        this.age = age;
        this.lesson = lesson;
        this.hobby = hobby;
    }

    public void displayInfo() {
        System.out.println(getName() +" "+ getAge() +" "+ getLesson() +" "+ getHobby());

    }
}
